<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>爱员工-人力成本政策引擎与服务平台</title>
  <script>
    new function () {
      var _self = this;
      _self.width = 750; //设置默认最大宽度
      _self.fontSize = 100; //默认字体大小
      _self.widthProportion = function () {
        var p = (document.body && document.body.clientWidth || document.getElementsByTagName("html")[0].offsetWidth) / _self.width;
        return p > 1 ? 1 : p < 0.2 ? 0.2 : p;
      };
      _self.changePage = function () {
        var a = _self.widthProportion() * _self.fontSize;
        document.getElementsByTagName("html")[0].setAttribute("style", "font-size:" + a + "px !important");
        if (a != parseFloat(window.getComputedStyle(document.documentElement)["fontSize"])) {
          document.getElementsByTagName("html")[0].setAttribute("style", "font-size:" + a / (parseFloat
            (window.getComputedStyle(document.documentElement)["fontSize"]) / a) + "px !important");
        }
      }
      _self.changePage();
      window.addEventListener('resize', function () {
        _self.changePage();
      }, false);
    };
  </script>
</head>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->        
</body>

</html>